package com.ls.modules.sys.dal.jpa.dao;

import com.ls.modules.sys.dal.jpa.entity.SysUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author: xiaosu
 * @date: 2018-09-25  17:01
 */
public interface SysUserDao  extends JpaRepository<SysUserEntity,Long> {

    /**
     *根据登录名称查询
     * @param name
     * @return
     */
    SysUserEntity  queryByName(String name);
}
